﻿using WorkflowCore.Console.Steps;
using WorkflowCore.Interface;

namespace WorkflowCore.Console.Workflow;

public class HelloWordWorkflowCore : IWorkflow
{
    public string Id => "HelloWorld";

    public int Version => 1;

    public void Build(IWorkflowBuilder<object> builder)
    {
        builder.StartWith<StartStep>()
            .Then<HelloStep>()
            .Then<EndStep>();
    }
}
